home *** CD-ROM | disk | FTP | other *** search
- Date: Mon, 04 Jan 1993 23:48:46 PST
- From: "Blake C. Ramsdell" <blake@gstream.com>
- Message-Id: <2b493d6a.gstream@gstream.com>
- Organization: GlobalStream Corporation (West Coast)
- To: "Nathaniel S. Borenstein" <nsb@thumper.bellcore.com>
- Cc: haeb@pc60.demon.co.uk
- Subject: Re: Metamail under MS-DOS problems.
-
- On Wed, 30 Dec 1992 08:59:01 -0500 (EST), "Nathaniel S. Borenstein"
- <nsb@thumper.bellcore.com> wrote:
- > Has anybody got Metamail to work under MS-DOS? I am
- > very new at playing with MIME, and as I have UUPC here it
- > seemed that Metamail was the way to go.
-
- I use it on a day-to-day basis -- no major problems so far... :)
-
- > Problems so far: 1) For ordinary 822 messages mm
- > uses 'cat'. Now to most MS-DOS people cat is a furry
- > creature that occasionaly allows its slaves to touch a
- > keyboard! :-) Fortunately I found a cat from somewhere,
- > but this might be slightly difficult for some. There is a
- > further problem that I suspect that any command that Metamail
- > calls must not be embedded in command.com, so that rules out
- > both copy and type, so it seems that cat needs to be included
- > in an MS-DOS based archive.
-
- Or you can use a shareware pager like "LIST" by Vern Buerg. This is what I
- use here...
-
- As an experiment here, I tried using the DOS internal TYPE command and the
- DOS external MORE command (you can use any internal DOS command by
- prefixing the command with the string "command /c " -- so to use the TYPE
- command you can use "command /c type". Just a hint...) The only problem
- is that because DOS machines like their CR/LF pairs so much (UUPC mail is
- stored in UNIX format with only CRs at the end of lines so as to maintain
- compatibility), the TYPE and the MORE commands will give you somewhat silly
- output... I'll be thinking about this in the future -- thanks for alerting
- me! What I'm thinking of is making a filter "crtocrlf" that will convert
- text stored with just CRs at the end of the lines to have CRLFs. Then you
- can have a "text/plain" entry like:
-
- text/plain; crtolf %s | more
-
- > 2) Mailers.txt suggests that to get it to work with UUPC
- > mail just change the 'Pager=' line in personal.rc. This
- > unfortunately is not enough, as mail will use the pager when
- > displaying help, with weird results!
-
- Yup. I never used help! Good thinking -- not sure what to do about it,
- though. Most likely it will be a caveat of using metamail with UUPC and
- documented as such.
-
- > You need to change 'options=nopager' to 'options=pager'.
- > This reverses the way the pager is used, and, incidently, won't call
- > Metamail unless requeted.
-
- I assume that this is only if you need to use help... Otherwise
- "options=nopager" will work fine.
-
- > Having got this far I'm a little stymied. mailcap will
- > not work under MS-DOS, as it uses shell scripts that just
- > don't work there. So what next?
-
- Well, attached is my mailcap file, if that helps. Hopefully I will get a
- chance to update the MIME source so that I can include it in the release.
- Basically I have entries for "image/*", "text/richtext", and "text/*":
-
- image/*; vpic %s
- text/richtext; richtext -a %s; needsterminal
- text/*; list %s
-
- The VPIC program will view quite a few popular image formats (the most
- prevalent that I have seen used with MIME is the GIF format which is
- supported by VPIC.) This is also a shareware program.
-
- There was another individual who was attempting to convert some of the
- shell scripts (specifically for "showpartial"), but because of the
- complexity of the task gave it up.
-
- >From my experience, my messages have all had "text/richtext", "image/gif"
- and so forth (i.e. not a lot of "message/external-body" or
- "message/partial".) This has been enough for my needs, but if you want
- some other specific handlers let me know (I may get some free cycles and
- write them, or I may at least know of shareware programs that will fit the
- bill).
-
- Thanks for the input! I'm sorry about your frustration :)! Like I said,
- when I get my act together I will try to get the DOS version up to par with
- the other platforms. Thank you for the input about the problems.
-
- Blake
- --
- Blake C. Ramsdell | Voice: (206) 858-7858
- GlobalStream Corporation | FAX: (206) 858-7862
- 5122 Olympic Dr. NW Ste. A102 | UUCP: nwnexus!gstream!blake
- Gig Harbor, WA 98335 | Internet: blake@gstream.com
-
-
-